CC = gcc 
LD = gcc

SRCS = $(wildcard *.c ./src/*.c)
OBJS = $(patsubst %c, %o, $(SRCS))

TARGET = gumbo

C_INCLUDES := \
	-I ./include \

.PHONY:all clean

all: $(TARGET)

%.o : %.c
	$(CC) -c $< -o $@ $(C_INCLUDES)
	
$(TARGET): $(OBJS)
	$(LD) -o $@ $(OBJS)
#	$(LD) -o $@ $(OBJS) $(LDFLAGS)

clean:
	rm -f $(OBJS) $(TARGET)